//
//  LogonView.h
//  playSerengetiMobile1
//
//  Created by Lita Gratrix on 10/24/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "playSerengetiMobile1AppDelegate.h"
#import "JSON/JSON.h"

@interface LogonView : UIViewController<UITextFieldDelegate> {

	UITextField *emailField;
	UITextField	*passwordField;
	UILabel *loginError;
	UILabel *emailError;
	UILabel *passwordError;
	NSString *email;
	NSString *password;
	
	NSMutableData *responseData;
	
	playSerengetiMobile1AppDelegate *appDelegate;
	
}

@property (nonatomic, retain) IBOutlet UITextField *emailField;
@property (nonatomic, retain) IBOutlet UITextField *passwordField;
@property (nonatomic, retain) IBOutlet UILabel *loginError;
@property (nonatomic, retain) IBOutlet UILabel *emailError;
@property (nonatomic, retain) IBOutlet UILabel *passwordError;
@property (nonatomic, retain) NSString *email;
@property (nonatomic, retain) NSString *password;
@property (nonatomic, retain) playSerengetiMobile1AppDelegate *appDelegate;

- (void)logonSubmit:(id)sender;

@end
